<?php

class Zend_View_Helper_CountComponent extends Zend_View_Helper_Abstract
{
    
    const AT = 100;
    
    public function countComponent($value, $gramme) 
    {
        return $value * ($gramme / self::AT);
    }
    
}